import { getbrow } from "../api/browing";

const browing = {
    namespaced: true,
    state: {
        listarr: [],
    },
    getters: {},
    mutations: {
        setlistarr(state,arr){
            state.listarr=arr
            console.log(state.listarr)
        }
    },
    actions: {
        async getlist({commit},obj){
            console.log(obj)
            let {data}=await getbrow(obj)
            console.log(data)
           commit('setlistarr',data.data)
        },
        
    },
}
export default browing